home *** CD-ROM | disk | FTP | other *** search
/ Aminet 39 / Aminet 39 (2000)(Schatztruhe)[!][Oct 2000].iso / Aminet / util / misc / ExecuteOnReset.readme < prev    next >
Encoding:
Text File  |  2000-09-02  |  3.7 KB  |  84 lines

  1. Short:    Executes some CLI-commands on reset
  2. Author:   jgeiss@muc.de (Johannes Geiss)
  3. Uploader: jgeiss@muc.de (Johannes Geiss)
  4. Type:     util/misc
  5.  
  6. Version:  1.1
  7.  
  8. Installes a reset handler which executes some commands on case of a reset
  9. (CTRL-Amiga-Amiga).
  10.  
  11. Example:
  12.  
  13.     ExecuteOnReset "Copy RAM:log to dh1: quiet noreq" "Wait 3 secs"
  14.  
  15.     This installes a reset handler, which copies a file from the RAM
  16.     disk to dh1 in case of a reset (CTRL-AMIGA-AMIGA). The Wait
  17.     command is necessary to avoid a non validated disk on dh1.
  18.  
  19. Usage: Run <>NIL: ExecuteOnReset [-p pri] string1 [string2] ...
  20.        -p pri    - priority (default: 0)
  21.        string1   - command line 1 to execute
  22.        string2   - optional command line 2 to execute
  23.        ...     - more command lines.
  24.  
  25. Installes a reset handler which executes the command lines on case of a reset
  26. (CTRL-Amiga-Amiga). After execution of all commands the handler continues with
  27. the reset (or other installed reset handlers) imediately! So if you do some
  28. disk tasks add a "Wait 3 secs" line as last command to avoid non validated
  29. disks. You must be cautionous: The Amiga allows a maximum of 10 seconds to do
  30. all reset handler tasks. After this amount of time a hard reset occurs
  31. regardless if a command has finished or not. If you install more reset
  32. handlers you can choose the order of execution by the priority argument.
  33. The Run command is necessary to detach from the shell. A CTRL-C signal
  34. removes the handler.
  35.  
  36. Notes:
  37.  
  38.     Some old Amigas do not have a hardware support for keyboard reset
  39.     handlers. If you try this on such machines the program will not work.
  40.  
  41.     This software (including the source codes) is free but remains
  42.     copyrighted (C) 2000 by Johannes Geiss (Amigavisions).
  43.  
  44.     USE THIS SOFTWARE AT YOUR OWN RISK. I'm not responsible for any damage
  45.     or data loss which this program may cause. If you are not sure about
  46.     this program read the sources.
  47.  
  48. Have fun
  49. Johannes Geiss (http://www.muc.de/~jgeiss)
  50.  
  51.  
  52. ============================= Archive contents =============================
  53.  
  54. Original  Packed Ratio    Date     Time    Name
  55. -------- ------- ----- --------- --------  -------------
  56.     1906    1172 38.5% 13-Aug-00 22:50:44  ExecuteOnReset.info
  57.     2971    2408 18.9% 13-Aug-00 22:50:42 +Build.info
  58.      794     189 76.1% 10-Aug-00 16:43:34 +call.i
  59.     2766    1755 36.5% 13-Aug-00 22:50:44 +call.i.info
  60.     2632    1711 34.9% 30-Sep-94 14:19:20 +Debug
  61.     2926    1799 38.5% 13-Aug-00 22:50:42 +Debug.info
  62.     2764    1720 37.7% 13-Aug-00 22:50:42 +Edit.info
  63.    11624    7214 37.9% 13-Aug-00 22:50:24 +ExecuteOnReset
  64.     7199    2234 68.9% 13-Aug-00 22:50:20 +ExecuteOnReset.c
  65.     2826    1998 29.2% 13-Aug-00 22:50:42 +ExecuteOnReset.c.info
  66.     2943    1781 39.4% 13-Aug-00 22:50:44 +ExecuteOnReset.info
  67.      144     119 17.3% 13-Aug-00 22:50:22 +ExecuteOnReset.lnk
  68.     1938    1314 32.1% 13-Aug-00 22:50:42 +ExecuteOnReset.lnk.info
  69.     2620    1493 43.0% 13-Aug-00 22:50:22 +ExecuteOnReset.o
  70.     2164    1224 43.4% 13-Aug-00 22:50:44 +ExecuteOnReset.o.info
  71.     1988     942 52.6% 13-Aug-00 22:50:18 +ExecuteOnReset.readme
  72.     2604    1733 33.4% 13-Aug-00 22:50:44 +ExecuteOnReset.readme.info
  73.     2868    1844 35.7% 13-Aug-00 22:50:42 +Find.info
  74.      879     349 60.2% 10-Aug-00 16:43:16 +keyhandler.a
  75.     2926    2190 25.1% 13-Aug-00 22:50:44 +keyhandler.a.info
  76.      152     122 19.7% 10-Aug-00 16:43:40 +keyhandler.o
  77.     2164    1224 43.4% 13-Aug-00 22:50:44 +keyhandler.o.info
  78.       89      68 23.5% 10-Aug-00 16:42:44 +SCOPTIONS
  79.     2942    2255 23.3% 13-Aug-00 22:50:42 +SCoptions.info
  80.       46      46  0.0% 10-Aug-00 16:43:30 +xref.i
  81.     2766    1756 36.5% 13-Aug-00 22:50:44 +xref.i.info
  82. -------- ------- ----- --------- --------
  83.    67641   40660 39.8% 16-Aug-100 03:10:34   26 files
  84.